package com.team.book.domain;

import javax.validation.constraints.NotNull;
import java.util.Date;

public class Book {
    private Long id;

    private Long code;

    @NotNull
    private String title;

    @NotNull
    private String author;

    @NotNull
    private String blurb;

    @NotNull
    private Byte type;

    private Byte borrowStatus;

    @NotNull
    private Byte classification;

    private Date createtime;

    private Long createuser;

    private Date updatetime;

    private Long updateuser;

    private Byte status;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCode() {
        return code;
    }

    public void setCode(Long code) {
        this.code = code;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getBlurb() {
        return blurb;
    }

    public void setBlurb(String blurb) {
        this.blurb = blurb;
    }

    public Byte getType() {
        return type;
    }

    public void setType(Byte type) {
        this.type = type;
    }

    public Byte getBorrowStatus() {
        return borrowStatus;
    }

    public void setBorrowStatus(Byte borrowStatus) {
        this.borrowStatus = borrowStatus;
    }

    public Byte getClassification() {
        return classification;
    }

    public void setClassification(Byte classification) {
        this.classification = classification;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Long getCreateuser() {
        return createuser;
    }

    public void setCreateuser(Long createuser) {
        this.createuser = createuser;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public Long getUpdateuser() {
        return updateuser;
    }

    public void setUpdateuser(Long updateuser) {
        this.updateuser = updateuser;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }
}